package game.combat;

import game.DataStore;

public class TickingGuiControl implements ResolutionListener {
    protected boolean markedForTemporaryResolutionListenerRemoval = false;

    public TickingGuiControl() {
	init();
    }
    
    private void init() {
        DataStore.combatAppState.registerConstantResolutionListener(this);
    }

    @Override
    public void resolutionStarted() {
        
    }

    @Override
    public boolean tick() {
        return true;
    }

    @Override
    public void resolutionEnded() {
        
    }

    @Override
    public int getTicksUsed() {
        return 0;
    }

    @Override
    public boolean isMarkedForTemporaryResolutionListenerRemoval() {
	return markedForTemporaryResolutionListenerRemoval;
    }
    @Override
    public void setMarkedForTemporaryResolutionListenerRemoval(boolean markedForTemporaryResolutionListenerRemoval) {
	this.markedForTemporaryResolutionListenerRemoval = markedForTemporaryResolutionListenerRemoval;
    }
}
